sgdk
Animation Struct Reference

#include <sprite_eng.h>

List of all members.

Public Attributes

u16 numFrame
AnimationFrame ** frames
u16 length
u8 * sequence
s16 loop

Detailed Description

Sprite animation structure.

Parameters:
numFramenumber of different frame for this animation
framesframes composing the animation
lengthanimation sequence length
sequenceframe sequence animation (for instance: 0-1-2-2-1-2-3-4..)
loopframe sequence index for loop (-1 if no loop).
timeractive time for this frame (in 1/60 of second)

The documentation for this struct was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Defines